package com.bird.设计模式.创建型.原型模式.抽象类的原型模式;

/**
 * @data 2022/3/14 9:43
 * @author: bird
 * @description:
 */
public class B extends A {

    public  B(){
        System.out.println("B constructor");
    }
    public static void main(String[] args) throws CloneNotSupportedException {
        B b = new B();
        b.clone();
    }
}
